<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/atmatxfuncs.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">atmatxfuncs.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../dd/d63/atmatxfuncs_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#a49f53ea95e679e92cd04fa236f2cfbd4">   22</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>    <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#a49f53ea95e679e92cd04fa236f2cfbd4">atRMatrix_fromXYRotationAndZAxis</a></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>(</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    ATEC_NAMESPACE_NAME::XRotMatrixP matrixP,</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    <span class="keywordtype">double</span>          *xRotationP,</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    <span class="keywordtype">double</span>          *yRotationP,</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  zAxisP</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>);</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#ab61919745c4286b94335a3714d3b8e1c">   39</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>     <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#ab61919745c4286b94335a3714d3b8e1c">atRMatrix_getIdentity</a></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>(</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    ATEC_NAMESPACE_NAME::XRotMatrixP rotMatrixP</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#a957155df7cebeb69e4f9184d65ab27cc">   55</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>     <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#a957155df7cebeb69e4f9184d65ab27cc">atRMatrix_getRowVector</a></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>(</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    ATEC_NAMESPACE_NAME::XPoint3dP   vec,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>    ATEC_NAMESPACE_NAME::XRotMatrixCP trans,</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>    <span class="keywordtype">int</span>             row</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#aa3c3c1bcdc12685e6c6aaf13133a71b7">   75</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>     <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#aa3c3c1bcdc12685e6c6aaf13133a71b7">atRMatrix_rotate</a></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>(</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    ATEC_NAMESPACE_NAME::XRotMatrixP outMatrixP,</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    ATEC_NAMESPACE_NAME::XRotMatrixCP inMatrixP,</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <span class="keywordtype">double</span>      xrot,</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    <span class="keywordtype">double</span>      yrot,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    <span class="keywordtype">double</span>      zrot</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#a26955cf5f50e035994fafb5f48d376a1">   97</a></span>ATECCORE_EXPORTED <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#a26955cf5f50e035994fafb5f48d376a1">atRMatrix_isXRotationYRotationZRotationScale</a></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>(</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    ATEC_NAMESPACE_NAME::XRotMatrixCP pMatrix,</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>    <span class="keywordtype">double</span> *pThetaX,</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    <span class="keywordtype">double</span> *pThetaY,</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    <span class="keywordtype">double</span> *pThetaZ,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>    <span class="keywordtype">double</span> *pScale</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#a2f2d48a769bdc67e7ab2debc779e795e">  118</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>             <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#a2f2d48a769bdc67e7ab2debc779e795e">atRMatrix_scale</a></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>(</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    ATEC_NAMESPACE_NAME::XRotMatrixP matrixP,</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>    <span class="keywordtype">double</span>          xscale,</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    <span class="keywordtype">double</span>          yscale,</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    <span class="keywordtype">double</span>          zscale</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#ade1b2d0fadf8dac6780c8359aca4261d">  138</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#ade1b2d0fadf8dac6780c8359aca4261d">atRMatrix_fromView</a></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>(</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>    ATEC_NAMESPACE_NAME::XRotMatrixP  rotMatrixP,</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>    <span class="keywordtype">int</span>         view,</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>    <span class="keywordtype">bool</span>        allowConstruction</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#a29ef84f1bfcaa7a3afe25e38c2d98f1b">  156</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#a29ef84f1bfcaa7a3afe25e38c2d98f1b">atRMatrix_multiplyRange</a></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>(</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>    ATEC_NAMESPACE_NAME::XPoint3dP lowP,</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>    ATEC_NAMESPACE_NAME::XPoint3dP highP,</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>    ATEC_NAMESPACE_NAME::XRotMatrixCP rotMatrixP</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>);</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="../../dd/d63/atmatxfuncs_8h.html#abb0d5b957b814215b4a25b66d96c89ca">  174</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d63/atmatxfuncs_8h.html#abb0d5b957b814215b4a25b66d96c89ca">atRMatrix_fromVectorToVector</a></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>(</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>    ATEC_NAMESPACE_NAME::XRotMatrixP pMatrix,</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pStartVector,</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pEndVector</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>);</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span> </div>
<div class="ttc" id="aatmatxfuncs_8h_html_a26955cf5f50e035994fafb5f48d376a1"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#a26955cf5f50e035994fafb5f48d376a1">atRMatrix_isXRotationYRotationZRotationScale</a></div><div class="ttdeci">ATECCORE_EXPORTED bool atRMatrix_isXRotationYRotationZRotationScale(ATEC_NAMESPACE_NAME::XRotMatrixCP pMatrix, double *pThetaX, double *pThetaY, double *pThetaZ, double *pScale)</div><div class="ttdoc">将矩阵分解为X、Y、Z的旋转以及缩放量</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_a29ef84f1bfcaa7a3afe25e38c2d98f1b"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#a29ef84f1bfcaa7a3afe25e38c2d98f1b">atRMatrix_multiplyRange</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_multiplyRange(ATEC_NAMESPACE_NAME::XPoint3dP lowP, ATEC_NAMESPACE_NAME::XPoint3dP highP, ATEC_NAMESPACE_NAME::XRotMatrixCP rotMatrixP)</div><div class="ttdoc">将旋转矩阵作用到范围上，并原地更新范围</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_a2f2d48a769bdc67e7ab2debc779e795e"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#a2f2d48a769bdc67e7ab2debc779e795e">atRMatrix_scale</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_scale(ATEC_NAMESPACE_NAME::XRotMatrixP matrixP, double xscale, double yscale, double zscale)</div><div class="ttdoc">使用给定的缩放比例乘以矩阵的每一行</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_a49f53ea95e679e92cd04fa236f2cfbd4"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#a49f53ea95e679e92cd04fa236f2cfbd4">atRMatrix_fromXYRotationAndZAxis</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_fromXYRotationAndZAxis(ATEC_NAMESPACE_NAME::XRotMatrixP matrixP, double *xRotationP, double *yRotationP, ATEC_NAMESPACE_NAME::XPoint3dCP zAxisP)</div><div class="ttdoc">创建一个矩阵，其z列在给定的方向上，同时x和y列是正交的</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_a957155df7cebeb69e4f9184d65ab27cc"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#a957155df7cebeb69e4f9184d65ab27cc">atRMatrix_getRowVector</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_getRowVector(ATEC_NAMESPACE_NAME::XPoint3dP vec, ATEC_NAMESPACE_NAME::XRotMatrixCP trans, int row)</div><div class="ttdoc">从旋转矩阵中提取某行数据</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_aa3c3c1bcdc12685e6c6aaf13133a71b7"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#aa3c3c1bcdc12685e6c6aaf13133a71b7">atRMatrix_rotate</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_rotate(ATEC_NAMESPACE_NAME::XRotMatrixP outMatrixP, ATEC_NAMESPACE_NAME::XRotMatrixCP inMatrixP, double xrot, double yrot, double zrot)</div><div class="ttdoc">旋转矩阵绕x、y、z轴旋转一定的角度，即outMatrixP = RotX * RotY * RotZ * inMatrix</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_ab61919745c4286b94335a3714d3b8e1c"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#ab61919745c4286b94335a3714d3b8e1c">atRMatrix_getIdentity</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_getIdentity(ATEC_NAMESPACE_NAME::XRotMatrixP rotMatrixP)</div><div class="ttdoc">构造一个单位矩阵</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_abb0d5b957b814215b4a25b66d96c89ca"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#abb0d5b957b814215b4a25b66d96c89ca">atRMatrix_fromVectorToVector</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_fromVectorToVector(ATEC_NAMESPACE_NAME::XRotMatrixP pMatrix, ATEC_NAMESPACE_NAME::XPoint3dCP pStartVector, ATEC_NAMESPACE_NAME::XPoint3dCP pEndVector)</div><div class="ttdoc">创建一个代表从一个向量旋转最小角度到与另一向量对齐的旋转矩阵</div></div>
<div class="ttc" id="aatmatxfuncs_8h_html_ade1b2d0fadf8dac6780c8359aca4261d"><div class="ttname"><a href="../../dd/d63/atmatxfuncs_8h.html#ade1b2d0fadf8dac6780c8359aca4261d">atRMatrix_fromView</a></div><div class="ttdeci">ATECCORE_EXPORTED void atRMatrix_fromView(ATEC_NAMESPACE_NAME::XRotMatrixP rotMatrixP, int view, bool allowConstruction)</div><div class="ttdoc">获取视图旋转矩阵的拷贝</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
